import os
import os.path

import Util

androidProjectPath = r'D:\code\Test\vr-player\app\src\main\res'


def main():
    strPath = Util.getStringPath(androidProjectPath)
    strJson = Util.getStringJson(strPath)
    Util.outputXls(strPath, strJson)


def main2():
    jsonList = Util.readXls()
    # 创建文件夹
    for key in jsonList.keys():
        if not os.path.isdir(key):
            os.mkdir(key)
    Util.writeXml(jsonList)


main2()
